package server.persistencia;

import java.sql.SQLException;
import java.util.ArrayList;
import server.dominio.Medico;



public abstract class DAOMedico implements IDAO{
	abstract public ArrayList<Object> select(String condicion)throws SQLException;
	//Devuelve el numero de elementos insertados. 
	
	abstract public int insert(Object obj)throws SQLException;
	abstract public int update(Object obj)throws SQLException;
	abstract public int delete(Object Medico)throws SQLException;
	
	abstract public Object find(String condicion)throws SQLException;
	abstract public void cerrarDAO() throws SQLException;

  



}
